var express = require('express');
var serveIndex = require('serve-index');
var path = require('path');
var app = express();
var port = process.env.PORT || 9090;
var homedir = '../public'; 
var conf = require(path.join(__dirname + '/conf.json'));

app.use('/dist', express.static(homedir + '/dist'));
app.use(express.static(homedir + '/html'));
app.use(serveIndex(homedir + '/html', { "icons": true }));
app.listen(port);